/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Monopol.Events;

import GUI.PopUpDialog;
import java.util.TimerTask;

/**
 *
 * @author Assaf
 */
public class playerOutOfTime extends TimerTask {
	PopUpDialog theDialog;

	public playerOutOfTime(PopUpDialog dialog){
	    theDialog = dialog;
	}

    @Override
    public void run() {
	theDialog.setEnabled(false);
    }

}
